﻿<Window x:Class="MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		mc:Ignorable="d"
		xmlns:views="Control.Views"
		Title="Cosmopolitan Theme for WPF Demo" WindowStyle="None" ResizeMode="CanResizeWithGrip" AllowsTransparency="True" WindowStartupLocation="CenterScreen" MinWidth="1024" MinHeight="768">

    <Border BorderThickness="1" BorderBrush="Black">
        <ScrollViewer x:Name="CoreScrollViewer" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
        <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
                <Rectangle x:Name="TopBar" VerticalAlignment="Stretch" MouseLeftButtonDown="TopBar_MouseLeftButtonDown" Fill="White" />
                <Border x:Name="BrandingBorder" Style="{StaticResource NavBrandingBorderStyle}" Grid.Row="0">
                <StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
                        <ContentControl Style="{StaticResource LogoIcon}" />
                    <TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}" Text="Control Panel" Margin="0" />
                </StackPanel>
            </Border>

            <Border x:Name="LinksBorder" Style="{StaticResource NavLinksBorderStyle}" Grid.Row="1" BorderThickness="0" Height="Auto" Width="260">
                <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">
                        <!--ListBox>
                            <ListBoxItem x:Name="Activation" Content="Activation" Background="" />
                            <ListBoxItem Margin="0,30,0,0" Content="listboxitem02"/>
                            <ListBoxItem Content="listboxitem03"/>
                            <ListBoxItem Content="listboxitem04"/>
                        </ListBox-->
                        <ListView Width="210">
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical" x:Name="ThemeElements" MouseLeftButtonDown="ThemeElements_MouseLeftButtonDown">
                                    <TextBlock Text="Theme Elements" FontSize="24" />
                                    <TextBlock Text="Example of how some objects look with this theme." FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical" x:Name="ActivateWin" MouseLeftButtonDown="ActivateWin_MouseLeftButtonDown">
                                    <TextBlock Text="Activate Windows" FontSize="24"/>
                                    <TextBlock Text="Ensure your computer is activated." FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical" x:Name="General" MouseLeftButtonDown="General_MouseLeftButtonDown" >
                                    <TextBlock Text="General" FontSize="24"/>
                                    <TextBlock Text="Change time zones, keyboard sound, add a language" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Ease of Access" FontSize="24"/>
                                    <TextBlock Text="Turn off/on high contrast theme, make test easier to read" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Search" FontSize="24"/>
                                    <TextBlock Text="" FontSize="12"  TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Wireless" FontSize="24"/>
                                    <TextBlock Text="Turn on/off flight mode and other wireless devices" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Devices" FontSize="24"/>
                                    <TextBlock Text="Add and remove devices" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Privacy" FontSize="24"/>
                                    <TextBlock Text="Control applications access to devices and capabilites such as wbcam and location" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Notifications" FontSize="24"/>
                                    <TextBlock Text="Choose if apps communicate new info or events" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                            <ListViewItem Width="200" HorizontalAlignment="Left">
                                <StackPanel Orientation="Vertical">
                                    <TextBlock Text="Windows Update" FontSize="24"/>
                                    <TextBlock Text="Verify that your computer has the lastest updates" FontSize="12" TextWrapping="Wrap" />
                                </StackPanel>
                            </ListViewItem>
                        </ListView>
                    
                        <!--Button x:Name="ButtonHome" Style="{StaticResource LinkStyle}" Content="home" Click="ButtonHome_Click" Padding="0,0,2,0"/>
                    <Button x:Name="ButtonCore" Style="{StaticResource LinkStyle}" Content="core" Click="ButtonCore_Click" /-->
                </StackPanel>
            </Border>

                <Border x:Name="ContentBorder" Style="{StaticResource NavContentBorderStyle}" Grid.Row="1" Margin="350,0,0,0" Padding="0,0,0,0">
                <ContentControl x:Name="ContentFrame" Content="" />
            </Border>
        </Grid>
            </ScrollViewer>
    </Border>
</Window>
